import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:pornhub_app/assets/styles.dart';
import 'package:pornhub_app/utils/color.dart';
import 'package:get/get_utils/src/extensions/widget_extensions.dart';

class ProfitAnnouncement extends StatelessWidget {
  const ProfitAnnouncement({super.key});
  @override
  Widget build(BuildContext context) {
    return Container(
      height: 24.w,
      width: 368.w,
      decoration: BoxDecoration(
          color: COLOR.hexColor("#FFF0F0"),
          borderRadius: BorderRadius.circular(3.w)),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.start,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          Image.asset(
            "assets/mine/img_mine_message_tips.png",
            width: 18.w,
            height: 18.w,
          ),
          SizedBox(width: 10.w),
          Text(
            "温馨提示：累计收益达到1000可联系在线客服申请提现",
            style: kTextStyle(COLOR.color_999999, fontsize: 11.w),
          ),
        ],
      ).marginSymmetric(horizontal: 8.w),
    ).marginOnly(top: 12.w);
  }
}
